Mask the dataName by the specified mask. The parameters are maskType is one of (INTERIOR or EXTERIOR), maskGrade is the amount of feather in pixels, and maskFunction is one of (LINEAR or COSINE). If maskGrade is negitive then the feather is put inside the selected ROI otherwise the feather is placed outside the selected ROI.